namespace CSharpPro._1014;

public class Student
{
    public String Name;
    public int Age;
    public int Score;

    public Student()
    {
    }
    public Student(string name, int age, int score)
    {
        Name = name;
        Age = age;
        Score = score;
    }
    //析构函数
    ~Student()
    {
        Console.WriteLine("对象销毁");
    }
    
    public void Study()
    {
        Console.WriteLine("Day Day Up");
    }
   
   
}